package pers.dzk.fivelnarow.player.computer;

import pers.dzk.fivelnarow.piece.Piece;
import pers.dzk.fivelnarow.player.Player;
import pers.dzk.fivelnarow.window.MainWindow;

import java.awt.*;
import java.util.List;

/**
 * @author 丁泽凯
 * 机器人类
 */
public abstract class ComputerPlayer extends Player {
    protected final EvaluateSystem evaluate = EvaluateSystem.getEvaluate();

    public ComputerPlayer(List<Piece> pieces, boolean order) {
        super(pieces, order);
    }

    /**
     * 计算下棋位置并返回
     * @return 下棋坐标点
     */
    public abstract Piece ai();


}
